<template> 
	<div class="monitoring2">
		<div class="monitor">
		<div class="monitorTop">
			<div class="monitorTopLeft">
				<el-select 
				v-model="yearValue" 
				 @change="upValue(yearValue)">
				    <el-option
				      v-for="(item,index) in yearOptions"
				      :label="item.label"
				      :value="item.value"
					  :key="index">
				    </el-option>
				  </el-select>
			</div>
			<div class="monitorTopRight">
				<el-select v-model="firmValue">
				    <el-option
				      v-for="(item,index) in firmOptions"
				      :label="item.label"
				      :value="item.value"
					  :key="index">
				    </el-option>
				  </el-select>
			</div>
		</div>
		<div class="monitorBotton">
			<!-- <div class="monitorBottonli">
				<div class="monitorblitext">
					<span>·</span>对标企业1：
				</div>
				<div class="monitorbliselect">
					<el-select v-model="firmValue">
					    <el-option
					      v-for="item in firmOptions"
					      :label="item.label"
					      :value="item.value">
					    </el-option>
					  </el-select>
				</div>
			</div> -->
		<!-- 	<div class="monitorBottonli">
				<div class="monitorblitext">
					<span>·</span>对标企业1：
				</div>
				<div class="monitorbliselect">
					<el-select v-model="firmValue">
					    <el-option
					      v-for="item in firmOptions"
					      :label="item.label"
					      :value="item.value">
					    </el-option>
					  </el-select>
				</div>
			</div> -->
		</div>
		</div>
		<div class="monitor">
		<monitoringEc2></monitoringEc2>
		</div>
	</div>
</template>

<script>
	name: 'monitoring2'
	import monitoringEc2 from '../../components/monitoring/monitoringEc2.vue'
	export default{
		data() {
			return{
				yearOptions: [{
				  value: '2020年',
				  label: '2020年'
				}, {
				  value: '2019年',
				  label: '2019年'
				}],
				yearValue:'2020年',
				firmOptions: [{
				  value: '企业1',
				  label: '企业1'
				}, {
				  value: '企业2',
				  label: '企业2'
				}],
				firmValue:'企业1',
			}
		},
		components:{
			monitoringEc2
		}
	}
</script>


<style lang="stylus" rel='stylesheet/stylus' scoped>
	@import "~@/assets/monitoring2.styl"
</style>